package la.iok.hzsvn.lewin.movie.shopmovie.entity;

import la.iok.hzsvn.lewin.movie.core.shopmovie.vo.PlayerFeeBase;

import java.util.Objects;

public class PlayerFee extends PlayerFeeBase {
    /**
     * 支付确认人
     */
    private Long payConfirmorId;

    public Long getPayConfirmorId() {
        return payConfirmorId;
    }

    public void setPayConfirmorId(Long payConfirmorId) {
        this.payConfirmorId = payConfirmorId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PlayerFee)) return false;
        if (!super.equals(o)) return false;
        PlayerFee fee = (PlayerFee) o;
        return Objects.equals(payConfirmorId, fee.payConfirmorId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), payConfirmorId);
    }
}
